<h1>SCIMC</h1>
<h2>Sistema de Controle de Chamados do IMC</h2>
<form id="login" method="POST" action="<?=$baseUrl?>login">
    <h2>Login</h2>
    <?php if (form_error('email') != '' || form_error('senha') != '') {?>
        <p class="error">Email ou senha incorretos!</p>
    <?php }?>
    <div class="dados-holder">
        <div class="left">
            <div><label for="email">Email</label></div>
            <div><label for="senha">Senha</label></div>
        </div>
        <div class="right">
            <div><input type="text" id="email" name="email" value="<?=set_value('email');?>" /></div>
            <div><input type="password" id="senha" name="senha" value="<?=set_value('senha');?>" /></div>
        </div>
    </div>
    <div style="text-align: right;">
        <input type="submit" value="Entrar" />
    </div>
</form>
